export const Menu: MenuLS[] = [
  {
    name: '用户管理',
    icon: 'anticon anticon-user',
    auth: ['Admin'],
    child: [
      {
        name: '客户管理',
        path: ['/back/user/customer']
      },
      {
        name: '销售管理',
        path: ['/back/user/sale']
      },
      {
        name: '会员管理',
        path: ['/back/user/member']
      },
      {
        name: '运营管理',
        path: ['/back/user/operate']
      },
    ],
  },
  {
    name: '询价管理',
    icon: 'anticon anticon-question-circle-o',
    auth: ['Admin', 'Normal'],
    child: [
      {
        name: '自动询价配置',
        path: ['/back/inquiry/autoinquiry']
      },
      {
        name: '询价列表',
        path: ['/back/inquiry/inquiryls']
      },
    ],
  },
  {
    name: '交易管理',
    icon: 'anticon anticon-trademark',
    auth: ['Admin', 'Normal'],
    child: [
      {
        name: '当日交易',
        path: ['./configmanagement']
      },
      {
        name: '历史交易',
        path: ['./configmanagement']
      },
      {
        name: '当日持仓',
        path: ['./configmanagement']
      },
    ],
  },
  {
    name: '资金流水',
    icon: 'anticon anticon-pay-circle-o',
    auth: ['Admin', 'Normal'],
    child: [
      {
        name: '资金流水',
        path: ['./configmanagement']
      },
      {
        name: '出入金流水',
        path: ['./configmanagement']
      },
      {
        name: '交易流水',
        path: ['./configmanagement']
      },
      {
        name: '红补蓝冲管理',
        path: ['./configmanagement']
      },
    ],
  },
  {
    name: '系统配置',
    icon: 'anticon anticon-desktop',
    auth: ['Admin', 'Normal'],
    child: [
      {
        name: '角色列表',
        path: ['./configmanagement']
      },
      {
        name: '管理员管理',
        path: ['./configmanagement']
      },
      {
        name: '参数配置',
        path: ['./configmanagement']
      },
      {
        name: '首页配置',
        path: ['./configmanagement']
      },
      {
        name: '资讯管理',
        path: ['./configmanagement']
      },
      {
        name: '交易日管理',
        path: ['./configmanagement']
      },
      {
        name: '银行列表管理',
        path: ['./configmanagement']
      },
      {
        name: '协议模板管理',
        path: ['./configmanagement']
      },
    ],
  },
  {
    name: '日志管理',
    icon: 'anticon anticon-file-text',
    auth: ['Admin', 'Normal'],
    child: [
      {
        name: '日志列表',
        path: ['./configmanagement']
      },
    ],
  },
]

export class MenuLS {
  name: string;
  icon: string;
  auth: string[];
  child: MenuItem[];
}

export class MenuItem {
  name: string;
  path: string[];
}